<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ page isELIgnored="false"%>
<html>
<head>
<meta charset="utf-8">
<title>登录</title>
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/statics/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/statics/css/login.css" />
	<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/statics/css/default.css" />
<script
	src="${pageContext.request.contextPath}/statics/js/jquery.min.js"
	type="text/javascript" charset=utf-8></script>
<script
	src="statics/js/bootstrap.min.js"
	type="text/javascript" charset=utf-8></script>
</head>
<body>
<!-- <a href="userList.action?userName=&page=1">查看所有用户信息</a> -->
  <div class="page login-page">
      <div class="container d-flex align-items-center">
        <div class="form-holder has-shadow">
          <div class="row">
            <!-- Logo & Information Panel-->
            <div class="col-lg-6">
              <div class="info d-flex align-items-center" style="text-align: center;">
                <div class="content">
                  <div class="logo">
                    <h1>登录界面</h1>
                  </div>
                </div>
              </div>
            </div>
            <!-- Form Panel    -->
            <div class="col-lg-6 bg-white">
              <div class="form d-flex align-items-center">
                <div class="content">
                  <form method="post" action="doLogin.action" class="form-validate" id="loginFrom">
                    <div class="form-group">
                      <input id="login-username" type="text" name="loginName" required data-msg="请输入用户名" placeholder="用户名"  class="input-material">
                    </div>
                    <div class="form-group">
                      <input id="login-password" type="password" name="password" required data-msg="请输入密码" placeholder="密码" class="input-material">
                    </div>
                    <button id="login" type="submit" class="btn btn-default btn-info btn-block" style="background-color: #5bc0de">登录</button>
                  </form>
                  <br />
                  <small>没有账号?</small><a href="${pageContext.request.contextPath}/register.jsp" class="signup">&nbsp;注册</a>
                  ${msg}
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
</body>
</html>

